/**
 * IMultiReaderVisitor.cs
 * 
 * AUTHOR:
 * Zlatko Michailov (http://blogs.msdn.com/esql)
 * 
 * PURPOSE:
 * An interface that implements the visitor design pattern for a batch of statments
 * that produce DbDataReader's.
 * Concrete classes like XmlVisitor and GridVisitor should implement this interface
 * to render the EntityDataReader's to the medium they operate on.
 * 
 * COPYRIGHT:
 * (c) Microsoft Corp., 2006-2007
 */



using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.Common;
using System.Data.EntityClient;



namespace Microsoft.Samples.Data.eSqlBlast
{
    public interface IMultiReaderVisitor
    {
        void BeginBatch();
        void VisitCommand(EntityCommand command);
        void VisitException(Exception ex);
        void VisitReader(EntityDataReader reader);
        void EndBatch();
    }

}
